bitkeeper revision 1.642 (3fcdb95euBzkxchkI3J1_rqWh5s6gw)
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Wed, 3 Dec 2003 10:22:22 +0000 (10:22 +0000)
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Wed, 3 Dec 2003 10:22:22 +0000 (10:22 +0000)
net_headers.h:
  Fix Arp header struct.

xen/include/xeno/net_headers.h

index a90b2012275775fe481455bb9b94f51e56510820..8f0a2229ea1c35c65cdac9e44ed3b1b99432fb24 100644 (file)
@@ -119,9 +119,9 @@ struct arphdr
 
     /* This next bit is variable sized, and as coded only allows ETH-IPv4 */
     __u8    ar_sha[ETH_ALEN];            /* sender hardware address       */
-    __u32   ar_sip;                      /* sender IP address             */
+    __u8    ar_sip[4];                   /* sender IP address             */
     __u8    ar_tha[ETH_ALEN];            /* target hardware address       */
-    __u32   ar_tip;                      /* target IP address             */
+    __u8    ar_tip[4];                   /* target IP address             */
 };